class TabState {
  final List<String> tabs;
  final int currentIndex;

  int length()
  {
    return tabs.length;
  }

  TabState({required this.tabs, this.currentIndex = 0});

  TabState copyWith({List<String>? tabs, int? currentIndex})
  {
    return TabState(
      tabs: tabs ?? this.tabs,
      currentIndex: currentIndex ?? this.currentIndex
      );
  }
}

